/*
 * Copyright (C) 2011 TopCoder Inc., All Rights Reserved.
 */
package gov.nasa.pds.services;

/**
 * 
 * This class translates the provided user query into a more structure string that the module can use.
 * 
 * Thread Safety: The implementations should be effectively thread-safe.
 */
public interface AdHocQueryTranslator {
    /**
     * Translates the adHoc query into something more structured.
     * 
     * @param adHocQuery
     *            - the adHoc query
     * @throws DataSetProcessingException
     *             - if there is an error while getting the data.
     * @return - the more structured version of the query
     * 
     */
    String translateQuery(String adHocQuery) throws DataSetProcessingException;
}
